package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.AlipaySettings;
import com.xyy.saas.payment.dao.model.UnionPaySettings;
import com.xyy.saas.payment.dao.model.WxSettings;

import java.util.List;

/**
 * (AlipaySettings)表服务接口
 *
 * @author makejava
 * @since 2020-11-26 10:43:39
 */
public interface ChannelSettingsService {

    AlipaySettings queryAlipayById(Integer id);

    List<AlipaySettings> queryAlipayAllByLimit(int offset, int limit);

    List<AlipaySettings> queryAlipayAll(AlipaySettings alipaySettings);

    AlipaySettings insertAlipay(AlipaySettings alipaySettings);

    AlipaySettings updateAlipay(AlipaySettings alipaySettings);

    boolean deleteAlipayById(Integer id);

    AlipaySettings queryAlipayByBusinessOrderTypeAndPayMode(String businessOrderType, String payMode);

    WxSettings queryWXById(Integer id);

    List<WxSettings> queryWXAllByLimit(int offset, int limit);

    WxSettings insertWX(WxSettings wxSettings);

    WxSettings updateWX(WxSettings wxSettings);

    boolean deleteWXById(Integer id);

    WxSettings queryWXByBusinessOrderTypeAndPayMode(String businessOrderType, String payMode);

    List<WxSettings> queryWXAll(WxSettings wxSettings);


    UnionPaySettings queryUnionPayById(Integer id);

    List<UnionPaySettings> queryUnionPayAllByLimit(int offset, int limit);

    List<UnionPaySettings> queryUnionPayAll(UnionPaySettings unionPaySettings);

    UnionPaySettings insertUnionPay(UnionPaySettings unionPaySettings);

    UnionPaySettings updateUnionPay(UnionPaySettings unionPaySettings);

    boolean deleteUnionPayById(Integer id);

    UnionPaySettings queryUnionPayByBusinessOrderTypeAndPayMode(String businessOrderType, String payMode);

}